<%@ include file="/html/common/init.jsp" %>

<c:choose>
	<c:when test="<%= com.video.portlet.Constants.YOUTUBE.equalsIgnoreCase(videoFrom) %>">
		<jsp:include page='/html/youtube/view.jsp' flush="true" />
	</c:when>
	<c:when test="<%= com.video.portlet.Constants.VIMEO.equalsIgnoreCase(videoFrom) %>">
		<jsp:include page='/html/vimeo/view.jsp' flush="true" />
	</c:when>
	<c:when test="<%= com.video.portlet.Constants.DAILYMOTION.equalsIgnoreCase(videoFrom) %>">
		<jsp:include page='/html/dailymotion/view.jsp' flush="true" />
	</c:when>	
	<c:when test="<%= com.video.portlet.Constants.SEVENLOAD.equalsIgnoreCase(videoFrom) %>">
		<jsp:include page='/html/sevenload/view.jsp' flush="true" />
	</c:when>	
	<c:when test="<%= com.video.portlet.Constants.EDUTOPIA.equalsIgnoreCase(videoFrom) %>">
		<jsp:include page='/html/edutopia/view.jsp' flush="true" />
	</c:when>		
	<c:when test="<%= com.video.portlet.Constants.REVVER.equalsIgnoreCase(videoFrom) %>">
		<jsp:include page='/html/revver/view.jsp' flush="true" />
	</c:when>	
	<c:when test="<%= com.video.portlet.Constants.FUNNYORDIE.equalsIgnoreCase(videoFrom) %>">
		<jsp:include page='/html/funnyordie/view.jsp' flush="true" />
	</c:when>	
	
	<c:otherwise>
		<liferay-util:include page="/html/portal/portlet_not_setup.jsp" />
	</c:otherwise>
</c:choose>